package com.chukun.gateway.client.enums;

/**
 * @author chukun
 * @version 1.0.0
 * @description 服务的协议信息
 * @createTime 2023/11/26 21:28
 */
public enum ApiProtocol {

    HTTP("http", "http协议"),
    DUBBO("dubbo", "dubbo协议");

    private String code;

    private String desc;

    ApiProtocol(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
